Using python for set column value